package com.bootdo.program.shejiao.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.program.shejiao.dao.MSaveNoteDao;
import com.bootdo.program.shejiao.domain.MSaveNoteDO;


@Service
public class MSaveNoteService{
	@Autowired
	private MSaveNoteDao mSaveNoteDao;
	
	
	public MSaveNoteDO get(Long id){
		return mSaveNoteDao.get(id);
	}
	
	
	public List<MSaveNoteDO> list(Map<String, Object> map){
		return mSaveNoteDao.list(map);
	}
	
	
	public int count(Map<String, Object> map){
		return mSaveNoteDao.count(map);
	}
	
	
	public int save(MSaveNoteDO mSaveNote){
		return mSaveNoteDao.save(mSaveNote);
	}
	
	
	public int update(MSaveNoteDO mSaveNote){
		return mSaveNoteDao.update(mSaveNote);
	}
	
	
	public int remove(Long id){
		return mSaveNoteDao.remove(id);
	}
	
	
	public int batchRemove(Long[] ids){
		return mSaveNoteDao.batchRemove(ids);
	}
	
}
